/**
 * 页面跳转
 * @param current 当前页
 * @param move 翻页码的动作
 * @return
 */
function pageJump(current, move){
	var idKindKe = document.getElementById("idKindKe").value;
	var count = document.getElementById("countPage").value;
	var endPage = document.getElementById("lastpage").value;
	var keOrShu = document.getElementById("keOrShu").value;
	if(move != 0){
		current = document.getElementById("currentPage").value;
	}
	var name = document.getElementById("searchName").value;
	var html = "plantManager-kindList.html?move="+move+"&page.currentPage="+current+"&page.countPage="
			+count+"&endPage="+endPage+"&kindName="+name+"&keOrShu="+keOrShu+"&idKindKe="+idKindKe;
	location.href=html;
}
/**
 * 查看下一级
 * @return
 */
function nextlevel(idKind){
	var keOrShu = document.getElementById("keOrShu").value;
	var html;
	if(keOrShu == 1){//科
		html= "plantManager-kindList.html?move=0&page.currentPage=1&keOrShu=2&idKindKe="+idKind;
	}else if(keOrShu == 2){//属
		html="plantManager-plantList.html?move=0&page.currentPage=1&idKindShu="+idKind;
	}
	location.href=html;
//	return html;
}